<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:composite="http://java.sun.com/jsf/composite">

<h:head>
</h:head>
<h:body>


	<composite:interface>
		<composite:attribute name="title" default="Details about this Request" />
		<composite:attribute name="showParams" default="false" />
	</composite:interface>
	
	<composite:implementation>
	
		<div style="border: 1px solid; background: #EEEEEE;">
			<div style="font-size: 1.6em; font-style: italic;">
				#{cc.attrs.title}
			</div>
			
			<div style="font-size: 1.2em; font-style: italic;">
				Request Header:
			</div>
			
			<p>#{header}</p>
			
			<h:panelGroup rendered="#{cc.attrs.showParams}">
				<div style="font-size: 1.2em; font-style: italic;">
					Request Parameters:
				</div>
				
				<p>#{param}</p>
			</h:panelGroup>
			
		</div>
	
	</composite:implementation>

</h:body>

</html>